package com.example.testweb;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {

    @RequestMapping("/hello")
    public String login() {
        return "hello world!!123";
    }

    @RequestMapping("closed")
    public String close() {
        return "This door is closed!";
    }

}
